package com.antler.smt.response.portal;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * 获取订单评价实体
 *
 * @author zhangyi
 * @date 2018/4/18 11:37
 */
@ApiModel(value = "GetOrderCommentListResp", description = "获取订单评价实体")
public class GetOrderCommentListResp {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", name = "id")
    private Long id;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id", name = "orderId")
    private Long orderId;

    /**
     * 星级 从1到5
     */
    @ApiModelProperty(value = "星级 从1到5", name = "grade")
    private Integer grade;

    /**
     * 对平台评价
     */
    @ApiModelProperty(value = "对平台评价", name = "toPlatform")
    private String toPlatform;

    /**
     * 对服务商的评价
     */
    @ApiModelProperty(value = "对服务商的评价", name = "toSupplier")
    private String toSupplier;

    /**
     * 是否向服务商展示0否 1是
     */
    @ApiModelProperty(value = "是否向服务商展示0否 1是", name = "showToSupplier")
    private Integer showToSupplier;

    /**
     * 是否在首页展示 0否 1是
     */
    @ApiModelProperty(value = "是否在首页展示 0否 1是", name = "showToMainpage")
    private Integer showToMainpage;

    /**
     * 是否有效 1有效 2作废
     */
    @ApiModelProperty(value = "是否有效 1有效 2作废", name = "status")
    private Integer status;

    /**
     * 使用时间
     */
    @ApiModelProperty(value = "使用时间", name = "useTime")
    private Date useTime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;

    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称", name = "name")
    private String name;

    /**
     * 会员昵称
     */
    @ApiModelProperty(value = "会员昵称", name = "nickName")
    private String nickName;

    /**
     * 会员账号（邮箱）
     */
    @ApiModelProperty(value = "会员账号（邮箱）", name = "email")
    private String email;

    /**
     * 会员账号（手机）
     */
    @ApiModelProperty(value = "会员账号（手机）", name = "moblie")
    private String moblie;

    /**
     * 评价者头像
     */
    @ApiModelProperty(value = "评价者头像", name = "memberImg")
    private String memberImg;

    /**
     * 评价图片集合
     */
    @ApiModelProperty(value = "评价图片集合", name = "commentImgs")
    private List<String> commentImgs;

    public String getMemberImg() {
        return memberImg;
    }

    public void setMemberImg(String memberImg) {
        this.memberImg = memberImg;
    }

    public List<String> getCommentImgs() {
        return commentImgs;
    }

    public void setCommentImgs(List<String> commentImgs) {
        this.commentImgs = commentImgs;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMoblie() {
        return moblie;
    }

    public void setMoblie(String moblie) {
        this.moblie = moblie;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public String getToPlatform() {
        return toPlatform;
    }

    public void setToPlatform(String toPlatform) {
        this.toPlatform = toPlatform;
    }

    public String getToSupplier() {
        return toSupplier;
    }

    public void setToSupplier(String toSupplier) {
        this.toSupplier = toSupplier;
    }

    public Integer getShowToSupplier() {
        return showToSupplier;
    }

    public void setShowToSupplier(Integer showToSupplier) {
        this.showToSupplier = showToSupplier;
    }

    public Integer getShowToMainpage() {
        return showToMainpage;
    }

    public void setShowToMainpage(Integer showToMainpage) {
        this.showToMainpage = showToMainpage;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
